import { createApp } from 'vue'
import App from './App.vue';
import router from './router'
import { ElPagination,ElTabs,ElTabPane} from 'element-plus';
import 'element-plus/lib/theme-chalk/index.css';
import store from './store'
const hls =require("videojs-contrib-hls")
import { Swipe , SwipeItem,Tab, Tabs,Search ,Field, CellGroup,Loading  } from 'vant'
require('vue-video-player/node_modules/video.js/dist/video-js.css')
require('vue-video-player/src/custom-theme.css')
import videoPlayer from 'vue-video-player/src'


createApp(App)
    .use(hls)
    .use(videoPlayer)
    .use(Swipe).use(SwipeItem).use(Tab).use(Tabs).use(store).use(Search).use(Field).use(CellGroup).use(Loading)
    .use(ElPagination).use(ElTabs).use(ElTabPane)
    .use(router).mount('#app')
    